X-Git-Url: http://git.cyclocoop.org/%27%20.%20%24prefix%20.%20Wiki::transformTitleToURI%28%24matches%5B1%5D%29%20.%20%27?a=blobdiff_plain;f=img_auth.php;h=b26e6a5ec92f586e4c926a10749097d5a98c19db;hb=0c04667cacfbc3f2839058a22f911e7a2d68fb86;hp=22fd4014524b252ffeca73ed61e737f94101588d;hpb=e00d638bb1ac6db8087772038516c96405737f77;p=lhc%2Fweb%2Fwiklou.git diff --git a/img_auth.php b/img_auth.php index 22fd401452..b26e6a5ec9 100644 --- a/img_auth.php +++ b/img_auth.php @@ -46,11 +46,9 @@ $wgArticlePath = false; # Don't let a "/*" article path clober our action path $wgActionPaths = array( "$wgUploadPath/" ); wfImageAuthMain(); -wfLogProfilingData(); -// Commit and close up! -$factory = wfGetLBFactory(); -$factory->commitMasterChanges(); -$factory->shutdown(); + +$mediawiki = new MediaWiki(); +$mediawiki->doPostOutputShutdown( 'fast' ); function wfImageAuthMain() { global $wgImgAuthUrlPathMap;